<?php
class MatchMediaStatus
{
	const NotProcessed = 0;
	const HasError = 1;
	const Ready = 2; 
	
	static private $_names = array(
				self::NotProcessed => 'Ждёт обработки',
				self::HasError => 'Обработан с ошибками', 
				self::Ready => 'Готов',		
		);	
		
	static public function GetList()
	{
		return self::$_names;
	}
	
	static public function Get($type)
	{
		if (!isset(self::$_names[$type])) return false;
		return self::$_names[$type];		 
	}	
}